import { Resource } from '@/base/model/Resource';

export class Resources {

  static COMPANY = new Resource('品牌商管理', '4', '0');
  static COMPANY_ADD = new Resource('新增品牌商', '40001', '4');
  static COMPANY_UPDATE = new Resource('编辑', '40003', '4');
  static COMPANY_DELETE = new Resource('删除', '40004', '4');
  static COMPANY_UPDATE_PASSAWORD= new Resource('修改密码', '40005', '4');
  static COMPANY_UPDATE_ENABLE = new Resource('禁用', '40007', '4');
  static COMPANY_VIEW = new Resource('查看', '40008', '4');
  static COMPANY_SPECIFIC_VIEW = new Resource('特定查看', '40009', '4');


  static ACCOUNT = new Resource('后台用户', '1', '0');
  static ACCOUNT_ADD = new Resource('新增用户', '10001', '1');
  static ACCOUNT_UPDATE = new Resource('编辑', '10003', '1');
  static ACCOUNT_DELETE = new Resource('删除', '10004', '1');
  static ACCOUNT_UPDATE_USER_PASSWORD = new Resource('修改密码', '10008', '1');
  static ACCOUNT_VIEW = new Resource('查看', '10009', '1');


  static ROLE = new Resource('角色权限', '2', '0');
  static ROLE_ADD = new Resource('新增角色', '20001', '2');
  static ROLE_UPDATE = new Resource('编辑', '20003', '2');
  static ROLE_DELETE = new Resource('删除', '20004', '2');
  static ROLE_UPDATE_RES = new Resource('设置权限', '20006', '2');
  static ROLE_VIEW = new Resource('查看', '20007', '2');


  static ORDERMANAGE = new Resource("订单管理", "37", "0");
  static ORDERMANAGE_DETAIL = new Resource("详情", "37001", "37");
  static ORDERMANAGE_EXCEL = new Resource("导出", "37002", "37");

  
  static MEMBER = new Resource('会员管理', '12', '0');
  static MEMBER_ADD = new Resource('新增会员', '12001', '12');
  static MEMBER_UPDATE = new Resource('编辑', '12003', '12');
  static MEMBER_DELETE = new Resource('删除', '12004', '12');
  static MEMBER_EXCEL = new Resource('导出', '12005', '12');
  static MEMBER_ADD_QUESTION = new Resource('新增问卷', '12006', '12');
  static MEMBER_VIEW = new Resource('查看', '12007', '12');
  static MEMBER_ADD_SCREEN_PAGE = new Resource('新增开屏页', '12008', '12');
  static MEMBER_MESSAGE = new Resource('消息推送', '12009', '12');
  static MEMBER_LEVEL = new Resource('会员等级', '12010', '12');
  static MEMBER_RULE = new Resource('成长值规则', '12011', '12');
  static MEMBER_ECHARTS = new Resource('图表统计', '12012', '12');
  static MEMBER_POINT = new Resource('积分统计', '12013', '12');
  static MEMBER_HEALTH_DATA = new Resource('健康档案', '12014', '12');
  static MEMBER_BRAIN_WAVES = new Resource('脑波管理', '12015', '12');
  static MEMBER_INFO = new Resource('会员信息', '12016', '12');

// Evaluation management
  static EVALUTION = new Resource("评价管理", "38", "0");
  static EVALUTION_READ = new Resource("查看", "38001", "38");


  static PRODUCT = new Resource("产品分类", "39", "0");
  static PRODUCT_ADD = new Resource("添加商品", "39001", "39");


  static DEVICE_SORT = new Resource('设备分类', '7', '0');
  static DEVICE_SORT_ADD = new Resource('新增设备分类', '70001', '7');
  static DEVICE_SORT_UPDATE = new Resource('编辑设备分类', '70003', '7');
  static DEVICE_SORT_DELETE = new Resource('删除', '70004', '7');
  static DEVICE_SORT_VIEW = new Resource('查看', '70006', '7');
  static DEVICE_SORT_UPDATE_SORT = new Resource('排序', '70007', '7');


  static DEVICE = new Resource('设备管理', '5', '0');
  static DEVICE_ADD = new Resource('新增设备', '50001', '5');
  static DEVICE_UPDATE = new Resource('编辑', '50003', '5');
  static DEVICE_DELETE = new Resource('删除', '50004', '5');
  static DEVICE_BATCH_SORT = new Resource('更改分类', '50006', '5');
  static DEVICE_BATCH_AGENT = new Resource('更改经销商', '50007', '5');
  static DEVICE_BATCH_DELETE = new Resource('批量删除', '50008', '5');
  static DEVICE_BATCH_EXCEL = new Resource('导入', '50011', '5');
  static DEVICE_BATCH_VIEW = new Resource('查看', '50013', '5');
  static RESTORE_FACTORY_VIEW = new Resource('恢复出厂', '50014', '5');

  static VERSION_UPDATE = new Resource('升级栏目', '17', '0');
  static VERSION_ADD = new Resource('版本添加', '17001', '17');
  static VERSION_DELETE = new Resource('版本删除', '17002', '17');


  static MANAGE = new Resource('经销商管理员', '27', '0');
  static MANAGE_ADD = new Resource('新增', '27001', '27');
  static MANAGE_UPDATE = new Resource('修改', '27002', '27');
  static MANAGE_DELETE = new Resource('删除', '27003', '27');


  static AGENT = new Resource('经销商管理', '3', '0');
  static AGENT_ADD = new Resource('新增经销商', '30001', '3');
  static AGENT_UPDATE = new Resource('编辑', '30003', '3');
  static AGENT_DELETE = new Resource('删除', '30004', '3');
  static AGENT_UPDATE_USER_PASSWORD = new Resource('修改经销商密码', '30008', '3');
  static AGENT_VIEW = new Resource('查看', '30006', '3');


  static NEWS = new Resource('消息推送', '16', '0');
  static NEWS_ADD = new Resource('新增消息', '16001', '16');
  static NEWS_UPDATE = new Resource('编辑', '16003', '16');
  static NEWS_DELETE = new Resource('删除', '16004', '16');
  static NEWS_PUSH = new Resource('推送/撤回', '16006', '16');
  static NEWS_VIEW = new Resource('查看', '16007', '16');


  static INFO = new Resource('资讯管理', '14', '0');
  static INFO_ADD = new Resource('新增资讯', '14001', '14');
  static INFO_UPDATE = new Resource('编辑', '14003', '14');
  static INFO_DELETE = new Resource('删除', '14004', '14');
  static INFO_UPDATE_ENABLE = new Resource('是否显示', '14005', '14');
  static INFO_VIEW = new Resource('查看', '14006', '14');


  static INFO_SORT = new Resource('资讯分类管理', '15', '0');
  static INFO_SORT_ADD = new Resource('新增资讯分类', '15001', '15');
  static INFO_SORT_UPDATE = new Resource('修改资讯分类', '15003', '15');
  static INFO_SORT_DELETE = new Resource('删除', '15004', '15');
  static INFO_SORT_UPDATE_SORT = new Resource('编辑资讯分类排序', '15006', '15');
  static INFO_SORT_VIEW = new Resource('查看', '15007', '15');
  static ORDER = new Resource('资源上传', '99', '0');


  static SIGN_LOG = new Resource('签到', '26', '0');
  static SIGN_LOG_VIEW = new Resource('查看', '26007', '26');

  static BANNERS = new Resource('资源位管理', '21', '0');
  static BANNERS_ADD = new Resource('新增轮播页', '21001', '21');
  static BANNERS_UPDATE = new Resource('编辑', '21003', '21');
  static BANNERS_DELETE = new Resource('删除', '21004', '21');


  static LABEL_SORT = new Resource('标签管理', '22', '0');
  static LABEL_SORT_ADD = new Resource('新增标签分类', '22001', '22');
  static LABEL_SORT_UPDATE = new Resource('编辑', '22003', '22');
  static LABEL_SORT_DELETE = new Resource('删除', '22004', '22');


  static ACTIVITY = new Resource("抽奖活动管理", "35", "0");
  static ACTIVITY_VIEW = new Resource("查看", "35001", "35");
  static ACTIVITY_ADD = new Resource("新增", "35002", "35");
  static ACTIVITY_UPDATE = new Resource("修改", "35003", "35");
  static ACTIVITY_RESTART = new Resource("重置", "35004", "35");


  static COUPON = new Resource("优惠券管理", "40", "0");
  static COUPON_ADD = new Resource("新增优惠", "40001", "40");


  static AFFILIATE = new Resource('家庭管理', '13', '0');
  static AFFILIATE_ADD = new Resource('添加成员 ', '13001', '13');
  static AFFILIATE_UPDATE = new Resource('编辑', '13003', '13');
  static AFFILIATE_DELETE = new Resource('删除', '13004', '13');
  static AFFILIATE_VIEW = new Resource('查看评论', '13006', '13');
  static AFFILIATE_LIST = new Resource('成员列表', '13007', '13');


  static COMMUNITY = new Resource("社区管理", "32", "0");
  static COMMUNITY_UPDATE = new Resource("修改", "32003", "32");
  static COMMUNITY_DELETE = new Resource("删除", "32004", "32");
  static COMMUNITY_READ = new Resource("查看评论", "32005", "32");


  static SENSITIVE = new Resource("敏感词管理", "33", "0");
  static SENSITIVE_ADD = new Resource("新增", "33002", "33");
  static SENSITIVE_UPDATE = new Resource("修改", "33003", "33");
  static SENSITIVE_DELETE = new Resource("删除", "33004", "33");


  static POSTSALE = new Resource('管家服务', '25', '0');

  static POSTSALE_ONLINE_QRDER = new Resource('在线下单', '25001', '25');
  static POSTSALE_REPAIR = new Resource('代客报修', '25002', '25');
  static POSTSALE_PROTECT = new Resource('维保申请', '25003', '25');
  static POSTSALE_RECORD = new Resource('维修记录', '25004', '25');
  static POSTSALE_MAINTAIN = new Resource('保养规则', '25005', '25');
  static POSTSALE_PROPOSAL = new Resource('用户建议', '25006', '25');


  static QUESTIONNAIRE = new Resource("问卷调查", "31", "0");
  static QUESTIONNAIRE_VIEW = new Resource("查看", "31001", "31");
  static QUESTIONNAIRE_ADD = new Resource("新增问卷", "31002", "31");
  static QUESTIONNAIRE_DATAIL = new Resource("详情", "31005", "31");
  static QUESTIONNAIRE_UPDATE = new Resource("编辑", "31003", "31");
  static QUESTIONNAIRE_DELETE = new Resource("删除", "31004", "31");


  static DEVICE_MODEL = new Resource('设备型号', '6', '0');
  static DEVICE_MODEL_ADD = new Resource('新增设备型号', '60001', '6');
  static DEVICE_MODEL_UPDATE = new Resource('编辑', '60003', '6');
  static DEVICE_MODEL_DELETE = new Resource('删除', '60004', '6');
  static DEVICE_VIEW = new Resource('查看', '60007', '6');

  static FIRMWARE = new Resource('固件管理', '8', '0');
  static FIRMWARE_ADD = new Resource('新增固件', '80001', '8');
  static FIRMWARE_UPDATE = new Resource('编辑固件', '80003', '8');
  static FIRMWARE_DELETE = new Resource('删除固件', '80004', '8');
  static FIRMWARE_VIEW = new Resource('查看', '80006', '8');
  static SOFTWARE = new Resource('插件管理', '9', '0');
  static SOFTWARE_ADD = new Resource('新增插件', '90001', '9');
  static SOFTWARE_UPDATE = new Resource('编辑', '90003', '9');
  static SOFTWARE_DELETE = new Resource('删除', '90004', '9');
  static SOFTWARE_VIEW = new Resource('查看', '90006', '9');
  static SELF_MOTION = new Resource('自动模式管理', '11', '0');
  static SELF_MOTION_ADD = new Resource('新增自动模式', '11001', '11');
  static SELF_MOTION_UPDATE = new Resource('编辑', '11003', '11');
  static SELF_MOTION_DELETE = new Resource('删除', '11004', '11');
  static SELF_MOTION_VIEW = new Resource('查看', '11006', '11');





  static UPLOAD_IMAGE = new Resource('上传图片', '99001', '99');
  static UPLOAD_AVATAR = new Resource('上传头像', '99002', '99');
  static UPLOAD_PACKET = new Resource('上传资源', '99003', '99');


  static LABEL = new Resource('标签', '23', '0');
  static LABEL_ADD = new Resource('新增标签', '23001', '23');
  static LABEL_UPDATE = new Resource('编辑', '23003', '23');
  static LABEL_DELETE = new Resource('删除', '23004', '23');


  static FAMILY = new Resource('家庭', '24', '0');
  static FAMILY_VIEW = new Resource('查看', '24001', '24');


  static ORDERS = new Resource("订单管理", "28", "0");
  static ORDERS_VIEW = new Resource("查看", "28001", "28");


  static SCREEN = new Resource("数据大屏", "29", "0");
  static SCREEN_VIEW = new Resource("查看", "29001", "29");
  


  static OPERATION = new Resource("操作日志", "34", "0");
  static OPERATION_VIEW = new Resource("查看", "34001", "34");



  static WHITELIST = new Resource("白名单", "35", "0");
  static WHITELIST_VIEW = new Resource("查看", "35001", "35");
  static WHITELIST_ADD = new Resource("新增", "35002", "35");
  static WHITELIST_DELETE = new Resource("删除", "33003", "335");


  static COUPONS = new Resource("优惠管理", "36", "0");
  static COUPONS_VIEW = new Resource("查看", "36001", "36");
  static COUPONS_ADD = new Resource("新增", "36002", "36");
  static COUPONS_UPDATE = new Resource("修改", "36003", "36");
  static COUPONS_DELETE = new Resource("删除", "36004", "36");

} 